package com.xyh.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author xiaoyh
 */
@FeignClient("user-service")
public interface UserClient {

    @GetMapping("/login")
    String login();
}
